package pers.fulsun.demo.springcloud.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import pers.fulsun.demo.springcloud.entity.SysDataDictionary;

import java.util.List;

@Mapper
public interface SysDataDictionaryMapper extends BaseMapper<SysDataDictionary> {
    /**
     * 扫描所有数据库表结构
     */
    List<SysDataDictionary> scanDataTable(String database);

    /**
     * 扫描指定数据库表结构
     */
    List<SysDataDictionary> scanDataTableOf(String database, String table);
}
